import type { App } from "vue";

import { router } from "/@/router";
import { setupRouterGuard } from "/@/router/guard/index";

// config router
export default function setupRouter(app: App<Element>) {
  app.use(router);
  setupRouterGuard(router);
}
